
from db import Base, db


class Role(Base):
    __tablename__ = "sys_role"
    __table_args__ = ({"comment": "角色"})
    id = db.Column(db.Integer, primary_key=True, comment="主键")
    roleName = db.Column(db.String(32), name="role_name", unique=True, nullable=False, comment="角色名称")
    remark = db.Column(db.String(255), name="remark", unique=False, nullable=False, comment="备注")
